package com.kongwg.exer;

public class AccountTest {
	public static void main(String[] args) {
		
		Account a1 = new Account(123, 1000);
		Account a2 = new Account(1234, 1000);
		Account a3 = new Account(123456, 1000);
		
		System.out.println(a1.toString());
		System.out.println("账号为："+ a1.getAccount()+"密码："+a1.getPassword()
							+"存款余额："+a1.getBalance()+"利率："+a1.getLilv()+
							"最小余额："+a1.getSbalance());
		System.out.println("账号为："+ a2.getAccount()+"密码："+a2.getPassword()
		+"存款余额："+a2.getBalance()+"利率："+a2.getLilv()+
		"最小余额："+a2.getSbalance());
		
		System.out.println("账号为："+ a3.getAccount()+"密码："+a3.getPassword()
		+"存款余额："+a3.getBalance()+"利率："+a3.getLilv()+
		"最小余额："+a3.getSbalance());
	}
}
